defaultNetworkInterface
Type
property
Summary
Determines which network interface should be used for socketed and HTTP connections.
Syntax
set the defaultNetworkInterface to <networkInterface>
Description
Use the defaultNetworkInterface property on all desktop and server platforms to specify which network interface should be used for socketed and HTTP connections. This is useful if you have SSL certificates bound to a particular IP address.
If the defaultNetworkInterface is empty, the standard interface is used.
SSL certificates are bound to a particular IP address. If your device has multiple network interfaces, to utilize your SSL certificate set the defaultNetworkInterface to the address specified in the certificate.
Parameters
Name | Type | Description |
---|---|---|
networkInterface | An IPv4 address as a string. For example: "192.168.1.10" |
Examples
set the defaultNetworkInterface to "192.168.1.10"
Related
property: sslCertificates
Compatibility and Support
Introduced
LiveCode 4.6.3
OS
mac
windows
linux
Platforms
desktop
server